package com.hongpu.enums;

/**
 * 工数枚举
 * @author 张玉胜
 * @since 2025年06月13日
 */
public enum NumberOfJobsEnum {
    // 工数枚举 1,0.5
    ONE_DAY(1,  "1天"),
    HALF_DAY(0.5,  "0.5天");


    private double  numberOfJobs;
    private String desc;

    NumberOfJobsEnum(final double numberOfJobs, final String desc) {
        this.numberOfJobs = numberOfJobs;
        this.desc = desc;
    }
    public double getNumberOfJobs() {
        return numberOfJobs;
    }
    public String getDesc() {
        return desc;
    }
}